<?php
/**
 * Created by PhpStorm.
 * User: pc
 * Date: 2017/12/27
 * Time: 下午9:26
 */

array(
    $roomid=array(
        'allUser'=>array(
            $uid=>array(
                'id'=>'75',
                'gift'=>'14',
                'warData'=>'1'
            ),
            $uid=>array(

            )

        ),
        'OnUser'=>array(
            $uid=>0,//0没有投币  1已经投币
            $uid=>1,
        ),
        'ChessGame'=>array(
            '0'=>array(
                'type'=>'0',//不做处理
                'gift'=>'14',
            ),
            '1'=>array(
                'type'=>'1',//后退  back
                'gift'=>'14',
            ),
            '2'=>array(
                'type'=>'2',//前进 forwad
                'gift'=>'14',
            ),
            '3'=>array(
                'type'=>'3',//钥匙奖励
                'gift'=>'14',
            ),
            '4'=>array(
                'type'=>'4',//宝箱奖励 0 1 2 3
                'chest'=>'0',
            ),
            '5'=>array(
                'type'=>'5',//积分奖励
                'gift'=>'14',
            ),
            '6'=>array(
                'type'=>'6',//对战游戏
                'gift'=>'14',
            ),
            '7'=>array(
                'type'=>'7',
                'gift'=>'14',
            )
        ),
        'index'=>'6',
        'status'=>'ready',//ready  play  onready
        'master'=>'45',
    )
);